home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / all_environment < prev    next >
Text File  |  1999-06-30  |  540b  |  21 lines

  1. SYNOPSIS
  2.     object *all_environment()
  3.     object *all_environment(object o)
  4.  
  5. DESCRIPTION
  6.     Returns an array with all environments object <o> is in. If <o> is
  7.     omitted, the environments of the current object is returned.
  8.  
  9.     If <o> has no environment, or if <o> is destructed, 0 is returned.
  10.  
  11. EXAMPLE
  12.     If o is a match in a matchbox which is in a box in a chest,
  13.     in a room, all_environment(o) will return
  14.         ({ matchbox, box, chest, room }).
  15.  
  16. HISTORY
  17.     Introduced in LDMud 3.2.6, suggested by TubMud.
  18.  
  19. SEE ALSO
  20.     environment(E), all_inventory(E)
  21.